package cn.hznc.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;


/**
 * @Author：Administrator
 * @Date：2023/4/20 10:14
 */
@Getter
@Setter
public class OrderImport {

    /**
     * 生产订单
     */
    @ExcelProperty(value = "生产订单")
    private String taskId;

    /**
     * 物料编码
     */
    @ExcelProperty(value = "物料编码")
    private String materialNo;

    /**
     * 物料型号
     */
    @ExcelProperty(value = "物料型号")
    private String productionNum;

    /**
     * 物料名称
     */
    @ExcelProperty(value = "物料名称")
    private String productionName;

    /**
     * 计划数量
     */
    @ExcelProperty(value = "计划数量")
    private String planNumber;

    /**
     * 创建日期
     */
    @ExcelProperty(value = "创建日期")
    private String createTime;

    /**
     * 交货日期
     */
    @ExcelProperty(value = "交货日期")
    private String finishTime;

    /**
     * 优先级
     */
    @ExcelProperty(value = "优先级")
    private String priority;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String bz;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;

    private Integer realNumber;

    private String storageSpace;

    private Integer abutmentStatus;

    private Integer sortPriority;
}
